package com.start.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.start.common.model.StartBaseTreeModel;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@TableName("start_sys_dept")
@EqualsAndHashCode(callSuper = true)
 @Schema(name="SysDept", description = "组织机构")
public class StartSysDept extends StartBaseTreeModel<StartSysDept> {
     @Schema(name="机构名称")
    private String deptName;

     @Schema(name="部门编码")
    private String deptCode;

     @Schema(name="机构类型", description = "0 单位或企业 1部门")
    private Integer deptType;

     @Schema(name="排序序号")
    private String deptSort;

     @Schema(name="部门层级ids", description = "多个使用英文逗号隔开")
    private String levelParentIds;

     @Schema(name="部门归属区域编码")
    private String areaCode;


}
